//////////////////////////////////////////////////////////////////////////
//
// 
//
//////////////////////////////////////////////////////////////////////////

#ifndef INCLUDED_TCPSOCKET_H
#define INCLUDED_TCPSOCKET_H

#include "socket.h"
#include <string>

namespace tinkle {

class TCPSocket : public Socket {
public:
    TCPSocket();
    TCPSocket(const std::string &host, const std::string &port);
    ~TCPSocket();
    virtual int Connect();
protected:
    virtual int _NonTLSRead(char *buf, int len);
    virtual int _NonTLSWrite(char *buf, int len);

    std::string _host;
    std::string _port;
};

}

#endif